home *** CD-ROM | disk | FTP | other *** search
/ Risc World 3 / Risc World 3.iso / SOFTWARE / ISSUE6 / PD / FRONTENDER / DES / !wget / Script < prev   
Text File  |  2003-01-12  |  4KB  |  104 lines

  1. # Frontman script for Wget
  2. # Script written by dsw (spriteman@eh.org)
  3.  
  4. child_info
  5. {
  6.   name:     Wget Frontend
  7.   purpose:  Makes Wget nicer to use
  8.   version:  0.01 (21 Dec 02)
  9.   author:   Dave Watson
  10.   command:  wget
  11.   wimpslot: 640
  12.   postexe:  
  13. }
  14.  
  15. Main_window
  16. {
  17.   icon: writeable "URL:" "" "" 200 400 below
  18.   icon: text "Other options:"
  19.   icon: action "Logging and Input Files" "openwind" "Logging" centre
  20.   icon: action "HTTP/FTP Options" "openwind" "Options" centre
  21.   icon: action "Download" "openwind" "Download" centre
  22.   icon: action "Directories" "openwind" "Directories" centre
  23.   icon: action "Recursion" "openwind" "Recursion" centre
  24.   icon: action "Acceptions/Rejections" "openwind" "Acceptions" centre
  25.   icon: writeable "Add command:" "" "" 200 400 below
  26.   icon: action "" "control" "" right
  27. }
  28.  
  29. Logging_window
  30. {
  31.   icon: writeable "Log messages to file" "" "-o" 100 402 right
  32.   icon: option "Append messages to file" off "-a"
  33.   icon: option "Print debug output" off "-d"
  34.   icon: choice "quiet" 1 off "-q"
  35.   icon: choice "non-verbose" 1 off "-nv"
  36.   icon: choice "verbose" 1 on "-v"
  37.   icon: drop "Read URLs from file" "" "-i" 100 402 centre
  38.   icon: option "Treat input as HTML" off "-F"
  39. }
  40.  
  41. Options_window
  42. {
  43.   icon: writeable "User" "" "--http-user=" 52 402 right
  44.   icon: writeable "Password" "" "--http-passwd=" 52 402 right
  45.   icon: writeable "Proxy User" "" "--proxy-user=" 52 402 right
  46.   icon: writeable "Proxy Password" "" "--proxy-passwd=" 52 402 right
  47.   icon: option "Disallow cached data" off "--cache=off"
  48.   icon: option "Ignore 'Content-Length'" off "--ignore-length" 
  49.   icon: option "Save headers" off "-s"
  50.   icon: writeable "Agent Identifier" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)" "--user-agent=" 52 402 right
  51.   icon: writeable "Add string to headers" "" "--header=" 52 402 right
  52.   icon: option "Retrieve symbolic links" off "--retr-symlinks"
  53.   icon: option "Filename globbing" off "-g"
  54.   icon: option "Passive transfer" off "--passive-ftp"
  55. }
  56.  
  57. Download_window
  58. {
  59.   icon: writeable "Output file" "" "-O=" 52 402 centre
  60.   icon: writeable "Timeout limit" "60" "--timeout=" 3 60 centre
  61.   icon: writeable "Number of retries" "5" "--tries=" 2 60 centre
  62.   icon: writeable "Time between retries" "5" "--wait=" 3 60 centre
  63.   icon: option "Resume existing file" off "-c"
  64.   icon: option "No clobber" on "-nc"
  65.   icon: option "Not older than" off "-N"
  66.   icon: option "Print server response" on "-S"
  67.   icon: option "Spider only, no download" off "--spider"
  68.   icon: option "Use Proxy" off "-Y"
  69.   icon: writeable "Quota number" "" "--quota=" 2 60 centre
  70.   icon: writeable "Progress symbol" "" "--dot-style=" 1 60 centre
  71. }
  72.  
  73. Directories_window
  74. {
  75.   icon: choice "Don't create dirs" 1 on "-nd"
  76.   icon: choice "Force creation of dirs" 1 off "-x"
  77.   icon: option "Don't create host dirs" on "-nH"
  78.   icon: drop "Save to dir" "" "--directory-prefix=" 52 402 centre
  79.   icon: writeable "Number of dirs to cut" "" "--cut-dirs=" 2 80 right
  80. }
  81.  
  82. Recursion_window
  83. {
  84.   icon: text "Recursion Depth"
  85.   icon: option "Convert links to relative" on "-r"
  86.   icon: option "Don't remove .listing files" off "-nr"
  87.   icon: option "Delete downloaded files" off "--delete-after"
  88.   icon: option "Follow relative links only" off "-L"
  89.   icon: option "Follow FTP links" off "--follow-ftp"
  90.   icon: option "Span hosts" off "-H"
  91.   icon: option "Don't ascend to parent dir" on "-np"
  92.   icon: option "Don't DNS-lookup hosts" off "-nh"
  93. }
  94.  
  95. Acceptions_window
  96. {
  97.   icon: writeable "Accepted extensions" "" "--accept=" 52 502 below
  98.   icon: writeable "Rejected extensins" "" "--reject=" 52 502 below
  99.   icon: writeable "Accepted domains" "" "--domains=" 52 502 below
  100.   icon: writeable "Rejected domains" "" "--exclude-domains=" 52 502 below
  101.   icon: writeable "Allowed directories" "" "--include-directories=" 52 502 below
  102.   icon: writeable "Excluded directories" "" "--exclude-directories=" 52 502 below
  103. }
  104.